from rest_framework import serializers

from apps.spit import models

class SpitModelSerializer(serializers.ModelSerializer):
    #默认查询所有数据
    class Meta:
        model = models.Spit
        fields = "__all__"

